package com.example.yjhmatch.controller;


import com.example.yjhmatch.mapper.BestPlayerMapper;
import com.yc.yjh.entity.BestPlayer;
import org.springframework.web.bind.annotation.RequestMapping;

import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;
import java.util.List;

/**
 * <p>
 *  前端控制器
 * </p>
 *
 * @author 廖老师
 * @since 2023-07-24
 */
@RestController
@RequestMapping("/yjh/bestPlayer")
public class BestPlayerController {
    @Resource
    BestPlayerMapper bestPlayerMapper;

    @RequestMapping("selectBestPlayer")
    public List selectBestPlayer(){
        return bestPlayerMapper.selectBestPlayer();
    }
}

